package com.sunny.ynhz.ui.daily.indexproblem;

import android.os.Bundle;
import android.support.v7.widget.DefaultItemAnimator;
import android.support.v7.widget.GridLayoutManager;
import android.support.v7.widget.RecyclerView;

import com.sunny.ynhz.R;
import com.sunny.ynhz.ui.base.AppBaseTitleBarActivity;
import com.sunny.ynhz.utils.GridSpacingItemDecoration;

import butterknife.BindView;
import butterknife.ButterKnife;

/**
 * Created by luao on 2017/7/15.
 */

public class ProblemWatiForAcceptDetailsActivity extends AppBaseTitleBarActivity {
    @BindView(R.id.image_recycle)
    RecyclerView imageRecycle;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_problem_wait_for_accept_details);
        ButterKnife.bind(this);

        GridLayoutManager gridLayoutManager = new GridLayoutManager(this, 3);
        imageRecycle.setLayoutManager(gridLayoutManager);
        imageRecycle.addItemDecoration(new GridSpacingItemDecoration(3, 70, false));
        imageRecycle.setItemAnimator(new DefaultItemAnimator());


//        LinkedList<Integer> resourceList = new LinkedList<>();
//        resourceList.add(R.drawable.begin_marker);
//        resourceList.add(R.drawable.begin_marker);
//        resourceList.add(R.drawable.begin_marker);
//        resourceList.add(R.drawable.begin_marker);
//        ImageViewAdapter imageViewAdapter = new ImageViewAdapter(resourceList);
//        imageRecycle.setAdapter(imageViewAdapter);


    }
}
